package com.ny.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModelProperty;

/**
 * 器材管理DTO
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class EquipmentDTO {

    /**
     * 器材ID:器材ID，必填
     */
    @NotNull(groups = { DeleteGroup.class, UpdateGroup.class, Default.class }, message = "器材ID不能为空")
    @ApiModelProperty(value = "器材ID:器材ID，必填")
    private Integer equipmentId;

    /**
     * 器材名称:器材名称，必填
     */
    @NotBlank(groups = { CreateGroup.class, Default.class }, message = "器材名称不能为空")
    @ApiModelProperty(value = "器材名称:器材名称，必填")
    private String equipmentName;

    /**
     * 器材描述:器材描述
     */
    @ApiModelProperty(value = "器材描述:器材描述")
    private String equipmentDescription;

    /**
     * 器材位置:器材位置
     */
    @ApiModelProperty(value = "器材位置:器材位置")
    private String location;

    /**
     * 器材状态:器材状态
     */
    @ApiModelProperty(value = "器材状态:器材状态")
    private String status;
}
